package com.weipai.springboot.model;

import com.weipai.springboot.module.util.DateUtils;

import java.util.UUID;

/**
 * 商品与属性选项的关联表
 */
public class GoodsOption {
    private String id = UUID.randomUUID().toString();

    private String goodsId;

    private String optionId;

    private String createTime= DateUtils.timeFormat(System.currentTimeMillis());

    private String updateTime;

    private Integer delStatus=0;

    public Integer getDelStatus() {
        return delStatus;
    }

    public void setDelStatus(Integer delStatus) {
        this.delStatus = delStatus;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId == null ? null : goodsId.trim();
    }

    public String getOptionId() {
        return optionId;
    }

    public void setOptionId(String optionId) {
        this.optionId = optionId == null ? null : optionId.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }
}